package xu.zhi.qing.share.dao;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import xu.zhi.qing.common.dao.BaseDao;
import xu.zhi.qing.share.entity.ShareImg;

import java.util.List;

@Repository
public interface ShareImgDao extends BaseDao<ShareImg> {

    List<ShareImg> findByShareId(@Param("shareId") Integer shareId);

    void deleteByShareId(@Param("shareId")Integer shareId);
}
